package org.balthie.demo.jdk.lang.invoke;

public interface FunctionInterfaceFactory
{
    FunctionInterfaceFactory DEFAULT = (input) -> {
        switch (input)
        {
            case "xxx":
                return 1;
            case "yyy":
                return 2;
            default:
                return 0;
        }
    };
    
    Integer test(String input);
    
//    Sink
//  LambdaMetafactory
//    CallSite
//    MethodHandle
}
